package com.ihrm.social.dao;


import com.ihrm.domain.social_security.Archive;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface ArchiveDao extends JpaRepository<Archive,String>, JpaSpecificationExecutor<Archive> {
    
    Archive findByCompanyIdAndYearsMonth(String companyId,String yearMonth);
    
    List<Archive> findByCompanyIdAndYearsMonthLike(String companyId,String yearsMonth);
}
